Troubleshooting TCP/IP
Setup
Do I have the right TCP/IP version?
What if I'm not connected to the Internet?
Is my TCP/IP installed correctly?
Installation
How do I recover from error 1?
How do I recover from error 2?
How do I recover from error 3?
How do I recover from error 4?
How do I recover from warning 5?
How do I recover from error 6?
How do I recover from warning 7?
How do I recover from error 8?
How do I recover from warning 9?
Upgrading and Registering
How do I recover from an expired or bad license number?
How do I change from version 3 to version 4?
Common Situations
Why can't users connect to my server?
Why isn't my license number recognised anymore?
Why is my server slow?
Multi-Homed Sites
How do I setup a Multi-Homed Site?
Mail (SMTP and POP3) Setup
What do I need to setup for mail?
Setup
Do I have the right TCP/IP version?
PowerWeb Server++ for OS/2 requires OS/2 Warp with TCP/IP, using either
the Warp Connect or the Warp Server version.
Regardless of whether you are running Warp Connect or Warp Server,
we strongly recommend that you run the Merlin TCP/IP stack,
as this fixes a number of problems with IBM's TCP/IP that can cause
system crashes. The Merlin TCP/IP stack is available from our FTP site at:
ftp://ftp.compusource.co.za/pub/tcpipfix
You should download all the files contained in that directory and
unzip their contents from the root of your boot drive.
Back to list of questions.
What if I'm not connected to the Internet?
- You can always run PowerWeb standalone, or
you can run it on a Intranet if you are connected to a TCP/IP network.
- If your machine is standalone,
you can run PowerWeb Secure Server++ in "localhost" mode, which
allows you to serve to your own "local" machine only.
- If you are on a TCP/IP network, you can serve to any computer on the
network.
This is how you ensure your machine is setup for localhost operation:
- Run TCPCFG.EXE (the icon labelled "TCP/IP Configuration" in your TCP/IP folder)
- Select the "Network" tab within the notebook.
- Within the "Interface to Configure" listbox, select "Loopback Interface"
and check the checkbox labelled "Enable Interface" and ensure that the
edit field "IP Address" contains the text "127.0.0.1".
- Close the configuration notebook and save your changes.
- Shutdown and reboot your machine.
Back to list of questions.
Is my TCP/IP installed correctly?
These are the steps to go through to test your TCP/IP:
-
ping your LAN adapter's IP address to measure response.
Our IP address is 196.31.1.61, you must replace our IP address
with your IP address.
You can ping IP addresses on other computers to see if you can connect to
them or they can ping your IP address to see if they can connect
to you. If you can't then either you or they have either installed
TCP/IP incorrectly or you have a network routing problem.
This is the result when ours works:
An alternative way of defining your host names is:
- Run TCPCFG.EXE (the icon labelled "TCP/IP Configuration" in your TCP/IP folder)
- Select the "HostNames" tab within the notebook and goto page 2.
- Add or modify your existing entries in the listbox.
- Be sure to check the checkbox "Look through HOSTS file before going to nameserver"
- Close the configuration notebook and save your changes.
Back to list of questions.
How do I recover from error 3?
PowerWeb ensures that your IP address maps to your host name and also
that your host name maps back to the original IP address. If the mapping
back from the host name to the IP address fails, it means that your
HOSTS file is not set up correctly.
Refer to the notes regarding Error 2 above for setting up your HOSTS file.
Back to list of questions.
How do I recover from error 4?
This error message occurs when you have multiple IP addresses defined
on your machine, and your HOSTS file is inconsistent. In this case
PowerWeb mapped your primary IP address to a specific host name, but when
that host name was mapped back to an IP address, a different IP address
was returned. This is a serious error and will cause malfunctioning
of your server.
Refer to the notes regarding Error 2 above for setting up your HOSTS file.
Back to list of questions.
How do I recover from warning 5?
This warning message indicates that you are either not online to the
Internet or that your domain name server (DNS) is malfunctioning. If
you are serving only locally or to your private LAN and not to the Internet
you can ignore this warning.
If your server is meant to be online to the Internet, then the most likely
cause of this message is that your TCP/IP configuration settings do not
specify a valid DNS server IP address, or your service provider's
DNS is either not operating or is not setup correctly. The easiest way
to test this is to use your Web browser to access other sites on the
Internet.
To define your DNS server's IP address for a permanent Internet connection:
- Run TCPCFG.EXE (the icon labelled "TCP/IP Configuration" in your TCP/IP folder)
- Select the "HostNames" tab within the notebook and goto page 1.
- Fill in the "Nameserver addresses" listbox.
- Close the configuration notebook and save your changes.
- Shutdown and reboot your machine.
Back to list of questions.
How do I recover from error 6?
This message indicates that you were previously running a server on the
same machine as you are installing PowerWeb. If you shut down that TCP/IP
service and wait a while (sometimes as long as 5 minutes),
IBM's TCP/IP will release the port and enable PowerWeb to use it.
In the case of port 80 (for HTTP), PowerWeb will automatically choose
port 8000 instead and install itself on that port, allowing you to run
your old server (if any) alongside PowerWeb. You can always change your
HTTP port later by choosing "Services" from the main PowerWeb admin
page while PowerWeb is running.
Back to list of questions.
How do I recover from warning 7?
PowerWeb needs to know your timezone for your machine's location so that
it can send the correct timestamp information to remote clients. Many
Web browsers rely on the server's clock and timezone being correctly
set so that they can cache images or documents locally, fetching new
copies only when the cache is out-of-date.
To define your timezone:
- Run TCPCFG.EXE (the icon labelled "TCP/IP Configuration" in your TCP/IP folder)
- Select the "General" tab within the notebook.
- Fill in the "Timezone" edit field.
- If you are unsure what setting to use, read the Help - it can be complex,
but then the specifications of timezones around the world are complex anyway.
- Close the configuration notebook and save your changes.
- Shutdown and reboot your machine.
Back to list of questions.
How do I recover from error 8?
PowerWeb needs to know where to locate vital files used for host name
lookup which requires that your ETC environment variable be set.
You have probably not setup TCP/IP correctly, so you should re-install it.
Back to list of questions.
How do I recover from warning 9?
PowerWeb needs to use your HOSTS file to determine host name aliases of
your machine to be able to correctly run SMTP and POP3 services.
Your environment variable USE_HOSTS_FIRST must be set to 1 in your
config.sys file in order for these services to work correctly.
SET USE_HOSTS_FIRST=1
Back to list of questions.
Upgrading and Registering
How do I recover from an expired or bad license number?
On server startup, if the server responds saying you have an expired or
invalid license, it will attempt to load in LocalHost mode.
If you are upgrading from version 3 to version 4, you are likely to
see this message. The quickest solution is:
- Edit the powerweb.cfg
file in the conf sub-directory and modify your license number from
your version 3 license to your version 4 or later license. Look for
the keyword "license" in the file and you will see the license number
a few lines further down.
- Change your default IP address back from 127.0.0.1 to your own
ip address, by typing the command line:
hostid 196.12.34.56
(according to your IP address)
- Reload PowerWeb Server. It should now recognise your new version
4 license.
Back to list of questions.
Common Situations
Why can't users connect to my server?
Follow the ping instructions above to determine
where the fault lies.
Back to list of questions.
Why isn't my license number recognised anymore?
One of the following has occurred:
- Your IP address and your host name have both changed.
You must apply for a new license in compliance with the
Licensing Agreement.
- Your test drive has expired.
You can start PowerWeb in local mode with:
powerweb -local
and then you can register PowerWeb and obtain a valid license.
- Your configuration file is corrupt.
Restore it from backup or re-install.
Back to list of questions.
Why is my server slow?
If your PowerWeb server seems to be slow, then it is likely to be a
networking problem. This can be diagnosed as follows:
- Start PowerWeb
- Within an OS/2 command session, change directory to
"\powerweb\sys401.r1\bin" (which is the location for version 4.01
and may be different on your system if you are running another version).
- Execute the command
submit -r10
which will send 10 consecutive requests to your server for its home page.
- Look at the average time reported - it should be between 10 and 80 milliseconds
depending on the speed of your machine and whether any other programs
are running at the time.
- If the time is substantially above 80 milliseconds, shutdown and
reboot your machine, because the IBM TCP/IP stack sometimes needs
re-initialising. If the speed is still slow, you probably have a TCP/IP
configuration problem.
- If the speed is OK on the server machine, then go to another workstation
on the same TCP/IP subnet and execute the "submit" command again, but
this time mention your server's IP address and also execute a ping, as follows:
submit -r10 -i12.34.56.78
ping 12.34.56.78
- Network delays will mean the average response time is likely to be
worse, but the time should not increase by much more than the average
ping time.
Back to list of questions.
Multi-Homed Sites
How do I setup a Multi-Homed Site?
Use the IP wizard
to setup multiple IP addresses by simply filling in the form.
Back to list of questions.
Mail (SMTP and POP3) Setup
What do I need to setup for mail?
Please read the mail overview
for instructions.
Back to list of questions.